package com.qgz.googleapp.web.action;

import java.util.List;
import java.util.Map;

import com.qgz.framework.BeanFactory;
import com.qgz.framework.web.AbstractWebAction;
import com.qgz.googleapp.entity.User;
import com.qgz.googleapp.service.UserService;

public class ListUserAction extends AbstractWebAction{

	public String execute(Map<String, Object> input, Map<String, Object> output) {
		UserService userService = BeanFactory.getInstance(UserService.class);
		List<User> userList = userService.getAllUser();
		output.put("userlist", userList);
		return SUCCESS;
	}

}
